package Myclassroom;
public class Teacher implements hello,work {
    String name;
    public Teacher(String name) {
        this.name = name;
    }
    @Override
    public void hello() {
        System.out.println(name+":同学们好!");
    }
    @Override
    public void work() {
        System.out.println(name+":老师开始上课!");
    }
}
